package online.cmagic.feign;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wangsc
 * @date 2020年09月10日 10:41
 * @since JDK 1.8
 */
@FeignClient(value = "alibaba-provider")
public interface ProviderFeignService {

    @RequestMapping(value = "provider/{id}")
    public String provider(@PathVariable("id") String id);
}
